package org.ben.birthday.twentybirthday.utils;


/**
 * @Author: Ben
 * @Date: 2019/7/22 17:23
 */
public enum ResultCode {

    /**
     * 处理成功
     */
    Success(100,"处理成功"),

    /**
     * 处理失败
     */
    Fail(100,"处理失败"),

    /**
     *管理员
     */
    Administrator(0,"管理员"),

    /**
     * 用户
     */
    User(5,"用户"),
    
    /**
     * 家庭圈
     */
    Family(1,"家庭圈"),

    /**
     * 个人圈
     */
    Person(2,"个人圈"),

    /**
     * 学校圈
     */
    School(3,"学校圈"),

    /**
     * 所有人
     */
    All(4,"所有人");


    public Integer code;
    private String msg;

    ResultCode(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
